package com.taobao.api.response;

import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.TaobaoObject;

import com.taobao.api.TaobaoResponse;

/**
 * TOP API: taobao.rdc.aligenius.account.validate response.
 * 
 * @author top auto create
 * @since 1.0, null
 */
public class RdcAligeniusAccountValidateResponse extends TaobaoResponse {

	private static final long serialVersionUID = 3295965188837956557L;

	/** 
	 * result
	 */
	@ApiField("result")
	private Result result;


	public void setResult(Result result) {
		this.result = result;
	}
	public Result getResult( ) {
		return this.result;
	}
	
	/**
 * resultData
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class Resultdata extends TaobaoObject {

	private static final long serialVersionUID = 3764397367572169317L;

	/**
		 * 1=是AG用户，0=非AG用户
		 */
		@ApiField("ag_account")
		private Long agAccount;
	

	public Long getAgAccount() {
			return this.agAccount;
		}
		public void setAgAccount(Long agAccount) {
			this.agAccount = agAccount;
		}

}

	/**
 * result
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class Result extends TaobaoObject {

	private static final long serialVersionUID = 5631592123134623185L;

	/**
		 * errorCode
		 */
		@ApiField("error_code")
		private String errorCode;
		/**
		 * errorInfo
		 */
		@ApiField("error_info")
		private String errorInfo;
		/**
		 * resultData
		 */
		@ApiField("result_data")
		private Resultdata resultData;
		/**
		 * 为true时才有resultData
		 */
		@ApiField("success")
		private Boolean success;
	

	public String getErrorCode() {
			return this.errorCode;
		}
		public void setErrorCode(String errorCode) {
			this.errorCode = errorCode;
		}
		public String getErrorInfo() {
			return this.errorInfo;
		}
		public void setErrorInfo(String errorInfo) {
			this.errorInfo = errorInfo;
		}
		public Resultdata getResultData() {
			return this.resultData;
		}
		public void setResultData(Resultdata resultData) {
			this.resultData = resultData;
		}
		public Boolean getSuccess() {
			return this.success;
		}
		public void setSuccess(Boolean success) {
			this.success = success;
		}

}



}
